using System.Windows.Forms;
using CombatTracker.Controls;

namespace CombatTracker
{
  public partial class Main : Form
  {
    public Main()
    {
      InitializeComponent();
      csMain.CombatStarted += CombatStarted;
    }

    private void CombatStarted(CombatantsScreen sender)
    {
      tbcMain.SelectedTab = tbpCombatControl;
      ccsMain.TurnOrder = sender.InitiativeOrder;
    }
  }
}